package com.heima.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.article.dtos.ArticleHomeDto;
import com.heima.model.article.pojos.ApArticle;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface ApAritcleMapper extends BaseMapper<ApArticle> {




    /**
     * 加载文章列表
     * @param dto
     * @param type
     * @return
     */
 public List<ApArticle> loadArticleList(ArticleHomeDto dto,Short type);


}
